package b6.vacancyshare.controller;


import b6.vacancyshare.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class LowonganKerjaController extends Activity {
	Button mapButton;
	Button deleteButton;
	Button updateButton;
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.vacancy_detail_myvac);
        
        mapButton = (Button)findViewById(R.id.MapButtonMyVac);
        deleteButton = (Button)findViewById(R.id.DeleteButtonMyVac);
        updateButton = (Button)findViewById(R.id.UpdateButtonMyVac);
        final Intent route1 = new Intent(this, b6.vacancyshare.activity.MenuPencarianPeta.class);
        final Intent route2 = new Intent(this, b6.vacancyshare.engine.Pengguna.class);
        
		mapButton.setOnClickListener(new View.OnClickListener() {

			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				startActivity(route1);
			}
        	
        });
		
		updateButton.setOnClickListener(new View.OnClickListener() {

			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				startActivity(route2);
			}
        	
        });
    }
}